// components/swiper/swiper.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    background: [
      {
        id: 0,
        type: 'image',
        url: 'https://blog.diyxi.top/weixin/img/HYL/lunbo0.jpg'
      }, {
        id: 1,
        type: 'image',
          url: 'https://blog.diyxi.top/weixin/img/HYL/lunbo1.jpg',
      }, {
        id: 2,
        type: 'image',
          url: 'https://blog.diyxi.top/weixin/img/HYL/lunbo2.jpg'
      }, {
        id: 3,
        type: 'image',
        url: 'https://blog.diyxi.top/weixin/img/HYL/lunbo3.jpg'
      },
    ],
    indicatorDots: true,
    vertical: false,
    autoplay: true,
    circular: false,
    interval: 3000,
    duration: 500,
    previousMargin: 0,
    nextMargin: 0
  },

  /**
   * 组件的方法列表
   */
  methods: {
  }
})
